projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e0ea97
)
; ; * src/androidselect.c (Fandroid_clipboard_exists_p): Add check.
author
Po Lu
<luangruo@yahoo.com>
Mon, 3 Apr 2023 10:24:02 +0000
(18:24 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Mon, 3 Apr 2023 10:24:02 +0000
(18:24 +0800)
src/androidselect.c
patch
|
blob
|
history
diff --git
a/src/androidselect.c
b/src/androidselect.c
index f54a6d6f52ca2522481f2ca28c5b139b65931629..dfbe0240941bab44e613197fd0744df59a801e2a 100644
(file)
--- a/
src/androidselect.c
+++ b/
src/androidselect.c
@@
-208,6
+208,9
@@
DEFUN ("android-clipboard-exists-p", Fandroid_clipboard_exists_p,
jboolean rc;
jmethodID method;
+ if (!android_init_gui)
+ error ("No Android display connection");
+
method = clipboard_class.clipboard_exists;
rc = (*android_java_env)->CallBooleanMethod (android_java_env,
clipboard,